//package com.wkbb.sports.controller;
//
//import com.wkbb.common.base.BaseController;
//import com.wkbb.sports.service.WorkService;
//import io.swagger.annotations.Api;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * @author lbh
// * @date 2021年04月26日 13:58:34
// * @description:   PC端作业统计
// */
//@RestController
//@Api(tags = "PC端作业统计接口")
//@RequestMapping("/sports/{apiVersion}/workCount")
//@Slf4j
//public class IndexController extends BaseController {
//
//    @Autowired
//    private WorkService workService;
//
//    //===========================================PC端=============【begin】===============================================================
//
//    /*@ApiOperation(value = "作业详情及统计【PC端与平板端可共用】")
//    @RequestMapping(value = "getWorkDetail", method = RequestMethod.GET)
//    public ResultDTO<Map<String,Object>> getWorkDetail(
//            @ApiParam(value = "接口版本", required = true, defaultValue = VersionConstant.V1) @PathVariable(value = "apiVersion", required = true) String apiVersion,
//            @ApiParam(value = "作业ID", required = true) @RequestParam(name = "workId", required = true) String workId){
//        return workService.getWorkDetail(workId);
//    }
//
//    @ApiOperation(value = "个人作业记录【时长模式】【PC端与平板端可共用】")
//    @RequestMapping(value = "getStudentPersonalInfoDetail", method = RequestMethod.GET)
//    public ResultDTO<Map<String,Object>> getStudentPersonalInfoDetail(
//            @ApiParam(value = "接口版本", required = true, defaultValue = VersionConstant.V1) @PathVariable(value = "apiVersion", required = true) String apiVersion,
//            @ApiParam(value = "作业ID", required = true) @RequestParam(name = "workId", required = true) String workId,
//            @ApiParam(value = "学生ID", required = true) @RequestParam(name = "studentId", required = true) String studentId,
//            @ApiParam(value = "主键ID", required = true) @RequestParam(name = "studentHistoryId", required = true) String studentHistoryId){
//        return workService.getStudentPersonalInfoDetail(workId,studentId,studentHistoryId);
//    }*/
//
//   /* @ApiOperation(value = "跳绳作业个人统计【PC端】")
//    @RequestMapping(value = "getStudentPersonalInfoDetailForPc", method = RequestMethod.GET)
//    public ResultDTO<Map<String,Object>> getStudentPersonalInfoDetailForPc(
//            @ApiParam(value = "接口版本", required = true, defaultValue = VersionConstant.V1) @PathVariable(value = "apiVersion", required = true) String apiVersion,
//            @ApiParam(value = "学生ID", required = true) @RequestParam(name = "studentId", required = true) String studentId,
//            @ApiParam(value = "分页数", defaultValue = "0", required = false) @RequestParam(name = "pageNo", defaultValue = "0", required = false) int pageNo,
//            @ApiParam(value = "分页大小", defaultValue = "20", required = false) @RequestParam(name = "pageSize", defaultValue = "20", required = false) int pageSize){
//        return workService.getStudentPersonalInfoDetailForPc(studentId,pageNo,pageSize);
//    }*/
//
//   /* @ApiOperation(value = "学校大屏【不归我写】")
//    @RequestMapping(value = "getSchoolBigScreen", method = RequestMethod.GET)
//    public ResultDTO<Map<String,Object>> getSchoolBigScreen(
//            @ApiParam(value = "接口版本", required = true, defaultValue = VersionConstant.V1) @PathVariable(value = "apiVersion", required = true) String apiVersion,
//            @ApiParam(value = "学校ID", required = true) @RequestParam(name = "schoolId", required = true) String schoolId,
//            @ApiParam(value = "年级ID", required = false) @RequestParam(name = "gradeId", required = false) String gradeId,
//            @ApiParam(value = "项目类型(1-一分钟跳绳(默认)，2-800米，3-1000米，4-50米，5-50米*8往返跑，6-立定跳远，7引体向上)", defaultValue = "1", required = false) @RequestParam(name = "type",defaultValue = "1", required = false) String type){
//        return workService.getSchoolBigScreen(schoolId,gradeId,type);
//    }*/
//
//   /* @ApiOperation(value = "个人作业记录【时长模式】【PC端与小程序端可共用】")
//    @RequestMapping(value = "getStudentWorkHistory", method = RequestMethod.GET)
//    public ResultDTO<PageInfo<WorkStudentHistoryDto> > getStudentWorkHistory(
//            @ApiParam(value = "接口版本", required = true, defaultValue = VersionConstant.V1) @PathVariable(value = "apiVersion", required = true) String apiVersion,
//            @ApiParam(value = "主键ID", required = true) @RequestParam(name = "studentHistoryId", required = true) String studentHistoryId,
//            @ApiParam(value = "分页数", defaultValue = "0", required = false) @RequestParam(name = "pageNo", defaultValue = "0", required = false) int pageNo,
//            @ApiParam(value = "分页大小", defaultValue = "20", required = false) @RequestParam(name = "pageSize", defaultValue = "20", required = false) int pageSize){
//        return workService.getStudentWorkHistory(studentHistoryId,pageNo,pageSize);
//    }*/
//
////===========================================PC端=============【end】===============================================================
//
//}